import os
print(os.path.getsize("D:\Python learn\pythonProject\python—learn\learning-python-xi\每日一题\english_count_words.txt"))
sum_size = 0
for file in os.listdir("D:\Python learn\pythonProject\python—learn\learning-python-xi\每日一题"):
    if os.path.isfile(file):
        sum_size += os.path.getsize(file)
print("all file size is:",sum_size/1024)